package com.davidhigenbottam.HeatMap.client;

import com.davidhigenbottam.HeatMap.shared.Query;
import com.davidhigenbottam.HeatMap.shared.Results;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("provinces")
public interface HeatmapService extends RemoteService {
	
	Boolean checkLoggedIn();
	Boolean authenticate(String username, String password);
	
	Results getResults(Query query) throws IllegalArgumentException;
	
}
